<div class="action-dialog-model-fixed-body">
<div id="printDIV_PAY">
	<h3 class="tac" align="center">
		深圳市怡亚通供应链股份有限公司
	<br/>
		归档资料清单
	</h3>
 	
 	<div class="detaiTab">
	<div class="detailsBox">
	 <div class="openBox">
	 <!-- 贷款要素 begin -->
	 <h3><i class="jtIco"></i>贷款要素
     </h3>
  	  <div class="action-ajax-load" data-url="/rback/l_i_common?loanapplyNo=${loanapply.loanapplyNo}"></div> 
  	  <!-- 贷款要素  end -->
     </div>
    </div>
		</div>
    
    
    
    
    
    
    
      <div class="cktitle" style="margin-top:10px;">省区寄送总部归档资料清单</div>
      		 <div class="m10 detaiTab" style="border-right:1px solid #e1e1e1; border-left:1px solid #e1e1e1">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="b_t_e5">
                    <tbody>
                    	<#list 0..(provinceFields?size/3)?ceiling-1 as x> 
                    	 	<tr>
                    	 		<#list 0..2 as index> 
	                    	 		<#if provinceFields[x*3+index]??>
			                            <td align="right" class="bg " width="15%">${provinceFields[x*3+index].fieldName}</td>
			                            <td class="fieldVaule" data="${provinceFields[x*3+index].fieldName}">
			                            	<#list provinceFields[x*3+index].fieldMin..provinceFields[x*3+index].fieldMax as i> 
			                            		<#if provinceFields[x*3+index].fieldValue?? && provinceFields[x*3+index].fieldValue ==i >
			                            			${i}
			                            		</#if>
			                            	</#list>
			                                                       份</td>
	                    	 		<#else>
	                    	 			<td align="right" class="bg" width="15%"></td>
			                            <td></td>
	                    	 		</#if>
                    	 		</#list>
	                        </tr>
						</#list>
						 <tr>
                            <td align="right" class="bg " width="15%">快递寄送凭证</td>
                            <td></td>
                            <td align="right" class="bg " width="15%">快递时间</td>
                            <td colspan="3">
								${provinceRecord.sendTime}
							    <span class="action-field-error" for="loanDate" style="color:red;"></span>
							</td>
                        </tr>
                        <tr>
                            <td align="right" class="bg " width="15%">快递公司</td>
                            <td> ${provinceRecord.sendCompany}</td>
                            <td align="right" class="bg " width="15%">快递单号</td>
                            <td colspan="3">${provinceRecord.sendNo}</td>
                        </tr>
                    </tbody>
                </table> 
            </div>
    
</div>

<div class="mt20 scBtn" style="text-align:center;">
	 <button onclick="myPrint(document.getElementById('printDIV_PAY'))" class=" btn_auto_30 btn_blue">打印</button>
</div>
	 
	 <script>
function myPrint(obj){
    var url = "/archive/rest/v1/print?type=province&loanapplyNo=${loanapplyNo}&bankTypeId=${bankTypeId}";
    var newWindow=window.open(url,"_blank");//打印窗口要换成页面的url
    var docStr = obj.innerHTML;
    newWindow.document.write(docStr);
    newWindow.document.close();
    newWindow.print();
    newWindow.close();
}
</script>
</div>